/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.cq.bd.service.impl;

import java.util.Map;

import com.cq.base.domain.Page;
import com.cq.bd.dao.SLoginLogDao;
import com.cq.bd.dao.SWorkerChgPwdDao;
import com.cq.bd.dao.SWorkerOnlineDao;
import com.cq.bd.service.ManageLogService;

/**
 * 员工在线
 * 
 * @author huangmy
 * @date   2009-10-6
 */
public class ManageLogServiceImpl implements ManageLogService {
    private SWorkerOnlineDao sWorkerOnlineDao;
    private SLoginLogDao sLoginLogDao;
    private SWorkerChgPwdDao sWorkerChgPwdDao;
    
    public Page pageWorkerOnline(Map<String, String> filter, Map<String, String> like, Map<String, String> sort,
            int pageNo, int pageSize) {
        return this.sWorkerOnlineDao.pagedQuery(filter, like, sort, pageNo, pageSize);
    }
    
    public Page pageLoginLog(Map<String, String> filter, Map<String, String> like, Map<String, String> sort,
            int pageNo, int pageSize) {
        return this.sLoginLogDao.pagedQuery(filter, like, sort, pageNo, pageSize);
    }
    
    public Page pageWorkerChgPwd(Map<String, String> filter, Map<String, String> like, Map<String, String> sort,
            int pageNo, int pageSize) {
        return this.sWorkerChgPwdDao.pagedQuery(filter, like, sort, pageNo, pageSize);
    }

    public void setSWorkerOnlineDao(SWorkerOnlineDao workerOnlineDao) {
        sWorkerOnlineDao = workerOnlineDao;
    }

    public void setSLoginLogDao(SLoginLogDao loginLogDao) {
        sLoginLogDao = loginLogDao;
    }

    public void setSWorkerChgPwdDao(SWorkerChgPwdDao workerChgPwdDao) {
        sWorkerChgPwdDao = workerChgPwdDao;
    }

}
